package com.traffic.model;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 驾驶证表
 * </p>
 *
 * @author Hongyue Wang
 * @since 2017-04-20
 */
@TableName("DRIVING_LICENCE")
public class DrivingLicence extends Model<DrivingLicence> {

    private static final long serialVersionUID = 1L;

    /**
     * PK
     */
	@TableId(value="ID", type= IdType.AUTO)
	private Integer id;
    /**
     * 驾驶证所有人姓名
     */
	@TableField("LICENCE_USERNAME")
	private String licenceUsername;
    /**
     * 驾驶证所有人手机号
     */
	@TableField("LICENCE_MOBILE")
	private String licenceMobile;
    /**
     * 驾驶证所有人身份证号
     */
	@TableField("LICENCE_CARDID")
	private String licenceCardid;
    /**
     * 驾驶证号码
     */
	@TableField("LICENCE_NUMBER")
	private String licenceNumber;
    /**
     * 驾驶证档案编号
     */
	@TableField("LICENCE_FILE_NUMBER")
	private String licenceFileNumber;
    /**
     * 驾驶证人籍贯
     */
	@TableField("USER_NATIVE_PLACE")
	private Integer userNativePlace;
    /**
     * 驾驶证人住址
     */
	@TableField("USER_ADDRESS")
	private String userAddress;
    /**
     * 是否吊销
     */
	@TableField("IS_REVOKE")
	private String isRevoke;
    /**
     * 是否删除
     */
	@TableField("IS_DELETE")
	private String isDelete;
    /**
     * 添加人
     */
	@TableField("CREAT_USER_ID")
	private Integer creatUserId;
    /**
     * 添加时间
     */
	@TableField("CREAT_TIME")
	private String creatTime;
    /**
     * 修改人
     */
	@TableField("EDIT_USER_ID")
	private Integer editUserId;
    /**
     * 修改时间
     */
	@TableField("EDIT_TIME")
	private String editTime;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getLicenceUsername() {
		return licenceUsername;
	}

	public void setLicenceUsername(String licenceUsername) {
		this.licenceUsername = licenceUsername;
	}

	public String getLicenceMobile() {
		return licenceMobile;
	}

	public void setLicenceMobile(String licenceMobile) {
		this.licenceMobile = licenceMobile;
	}

	public String getLicenceCardid() {
		return licenceCardid;
	}

	public void setLicenceCardid(String licenceCardid) {
		this.licenceCardid = licenceCardid;
	}

	public String getLicenceNumber() {
		return licenceNumber;
	}

	public void setLicenceNumber(String licenceNumber) {
		this.licenceNumber = licenceNumber;
	}

	public String getLicenceFileNumber() {
		return licenceFileNumber;
	}

	public void setLicenceFileNumber(String licenceFileNumber) {
		this.licenceFileNumber = licenceFileNumber;
	}

	public Integer getUserNativePlace() {
		return userNativePlace;
	}

	public void setUserNativePlace(Integer userNativePlace) {
		this.userNativePlace = userNativePlace;
	}

	public String getUserAddress() {
		return userAddress;
	}

	public void setUserAddress(String userAddress) {
		this.userAddress = userAddress;
	}

	public String getIsRevoke() {
		return isRevoke;
	}

	public void setIsRevoke(String isRevoke) {
		this.isRevoke = isRevoke;
	}

	public String getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}

	public Integer getCreatUserId() {
		return creatUserId;
	}

	public void setCreatUserId(Integer creatUserId) {
		this.creatUserId = creatUserId;
	}

	public String getCreatTime() {
		return creatTime;
	}

	public void setCreatTime(String creatTime) {
		this.creatTime = creatTime;
	}

	public Integer getEditUserId() {
		return editUserId;
	}

	public void setEditUserId(Integer editUserId) {
		this.editUserId = editUserId;
	}

	public String getEditTime() {
		return editTime;
	}

	public void setEditTime(String editTime) {
		this.editTime = editTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "DrivingLicence{" +
				"id=" + id +
				", licenceUsername='" + licenceUsername + '\'' +
				", licenceMobile='" + licenceMobile + '\'' +
				", licenceCardid='" + licenceCardid + '\'' +
				", licenceNumber='" + licenceNumber + '\'' +
				", licenceFileNumber='" + licenceFileNumber + '\'' +
				", userNativePlace=" + userNativePlace +
				", userAddress='" + userAddress + '\'' +
				", isRevoke='" + isRevoke + '\'' +
				", isDelete='" + isDelete + '\'' +
				", creatUserId=" + creatUserId +
				", creatTime='" + creatTime + '\'' +
				", editUserId=" + editUserId +
				", editTime='" + editTime + '\'' +
				'}';
	}
}
